﻿// -------------------------------------------------------------------------
//    @FileName         :    NFCityPlayerQuestExt.h
//    @Author           :    Gao.Yi
//    @Date             :    2025-09-15
//    @Email			:    445267987@qq.com
//    @Module           :    NFCityPlayerQuestExt
//    @Desc             :
//
// -------------------------------------------------------------------------

#pragma once
#include "proto_city.nanopb.h"
#include "proto_common_quest.nanopb.h"


class NFCityPlayerQuestExt
{
public:
    NFCityPlayerQuestExt();
    ~NFCityPlayerQuestExt();
    int CreateInit();
    int ResumeInit();

public:
    int InitQuestData(const proto_ff::CityRoleQuestData* pQuestData);

    bool HasQuest(int iQuestId) const;
    bool HasNonFinishTask(int iQuestId) const;

    QuestNode* GetQuest(int iQuestId);
    const QuestNode* GetQuest(int iQuestId) const;

private:
    CityRoleQuestData m_stQuestData;
};
